package com.zzyl.nursing.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zzyl.nursing.domain.NursingLevel;
import com.zzyl.nursing.vo.NursingLevelVo;
import org.apache.ibatis.annotations.Mapper;

/**
 * 护理等级Mapper接口
 */
@Mapper
public interface NursingLevelMapper extends BaseMapper<NursingLevel> {

    //查询所有护理等级
    List<NursingLevel> listAll();

    //查询护理等级列表
    public List<NursingLevelVo> selectNursingLevelList(NursingLevel nursingLevel);

    //查询护理等级
    public NursingLevel selectNursingLevelById(Long id);

    //新增护理等级
    public int insertNursingLevel(NursingLevel nursingLevel);

    //修改护理等级
    public int updateNursingLevel(NursingLevel nursingLevel);

    //批量删除护理等级
    public int deleteNursingLevelByIds(Long[] ids);
}